﻿namespace winS.Unity
{
    /// <summary>
    /// 更新句柄
    /// </summary>
    public class UpdateHandle : Handle
    {
        internal UpdateHandle(UpdateFunction updateFunction)
        {
            onFinished += () => Updater.RemoveUpdate(updateFunction);
        }
    }
}